3.1163 \(\int (1-2 x) (2+3 x)^3 (3+5 x)^2 \, dx\)

Optimal. Leaf size=44 \[ -\frac{1350 x^7}{7}-\frac{1215 x^6}{2}-\frac{3366 x^5}{5}-\frac{769 x^4}{4}+\frac{638 x^3}{3}+210 x^2+72 x \]

[Out]

72*x + 210*x^2 + (638*x^3)/3 - (769*x^4)/4 - (3366*x^5)/5 - (1215*x^6)/2 - (1350*x^7)/7

________________________________________________________________________________________

Rubi [A]  time = 0.0179223, antiderivative size = 44, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.05, Rules used = {77} \[ -\frac{1350 x^7}{7}-\frac{1215 x^6}{2}-\frac{3366 x^5}{5}-\frac{769 x^4}{4}+\frac{638 x^3}{3}+210 x^2+72 x \]

Antiderivative was successfully verified.

[In]

Int[(1 - 2*x)*(2 + 3*x)^3*(3 + 5*x)^2,x]

[Out]

72*x + 210*x^2 + (638*x^3)/3 - (769*x^4)/4 - (3366*x^5)/5 - (1215*x^6)/2 - (1350*x^7)/7

Rule 77

Int[((a_.) + (b_.)*(x_))*((c_) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Int[ExpandIntegran
d[(a + b*x)*(c + d*x)^n*(e + f*x)^p, x], x] /; FreeQ[{a, b, c, d, e, f, n}, x] && NeQ[b*c - a*d, 0] && ((ILtQ[
n, 0] && ILtQ[p, 0]) || EqQ[p, 1] || (IGtQ[p, 0] && ( !IntegerQ[n] || LeQ[9*p + 5*(n + 2), 0] || GeQ[n + p + 1
, 0] || (GeQ[n + p + 2, 0] && RationalQ[a, b, c, d, e, f]))))

Rubi steps

\begin{align*} \int (1-2 x) (2+3 x)^3 (3+5 x)^2 \, dx &=\int \left (72+420 x+638 x^2-769 x^3-3366 x^4-3645 x^5-1350 x^6\right ) \, dx\\ &=72 x+210 x^2+\frac{638 x^3}{3}-\frac{769 x^4}{4}-\frac{3366 x^5}{5}-\frac{1215 x^6}{2}-\frac{1350 x^7}{7}\\ \end{align*}

Mathematica [A]  time = 0.0008616, size = 44, normalized size = 1. \[ -\frac{1350 x^7}{7}-\frac{1215 x^6}{2}-\frac{3366 x^5}{5}-\frac{769 x^4}{4}+\frac{638 x^3}{3}+210 x^2+72 x \]

Antiderivative was successfully verified.

[In]

Integrate[(1 - 2*x)*(2 + 3*x)^3*(3 + 5*x)^2,x]

[Out]

72*x + 210*x^2 + (638*x^3)/3 - (769*x^4)/4 - (3366*x^5)/5 - (1215*x^6)/2 - (1350*x^7)/7

________________________________________________________________________________________

Maple [A]  time = 0.001, size = 35, normalized size = 0.8 \begin{align*} 72\,x+210\,{x}^{2}+{\frac{638\,{x}^{3}}{3}}-{\frac{769\,{x}^{4}}{4}}-{\frac{3366\,{x}^{5}}{5}}-{\frac{1215\,{x}^{6}}{2}}-{\frac{1350\,{x}^{7}}{7}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((1-2*x)*(2+3*x)^3*(3+5*x)^2,x)

[Out]

72*x+210*x^2+638/3*x^3-769/4*x^4-3366/5*x^5-1215/2*x^6-1350/7*x^7

________________________________________________________________________________________

Maxima [A]  time = 1.23914, size = 46, normalized size = 1.05 \begin{align*} -\frac{1350}{7} \, x^{7} - \frac{1215}{2} \, x^{6} - \frac{3366}{5} \, x^{5} - \frac{769}{4} \, x^{4} + \frac{638}{3} \, x^{3} + 210 \, x^{2} + 72 \, x \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)*(2+3*x)^3*(3+5*x)^2,x, algorithm="maxima")

[Out]

-1350/7*x^7 - 1215/2*x^6 - 3366/5*x^5 - 769/4*x^4 + 638/3*x^3 + 210*x^2 + 72*x

________________________________________________________________________________________

Fricas [A]  time = 1.30143, size = 108, normalized size = 2.45 \begin{align*} -\frac{1350}{7} x^{7} - \frac{1215}{2} x^{6} - \frac{3366}{5} x^{5} - \frac{769}{4} x^{4} + \frac{638}{3} x^{3} + 210 x^{2} + 72 x \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)*(2+3*x)^3*(3+5*x)^2,x, algorithm="fricas")

[Out]

-1350/7*x^7 - 1215/2*x^6 - 3366/5*x^5 - 769/4*x^4 + 638/3*x^3 + 210*x^2 + 72*x

________________________________________________________________________________________

Sympy [A]  time = 0.060896, size = 41, normalized size = 0.93 \begin{align*} - \frac{1350 x^{7}}{7} - \frac{1215 x^{6}}{2} - \frac{3366 x^{5}}{5} - \frac{769 x^{4}}{4} + \frac{638 x^{3}}{3} + 210 x^{2} + 72 x \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)*(2+3*x)**3*(3+5*x)**2,x)

[Out]

-1350*x**7/7 - 1215*x**6/2 - 3366*x**5/5 - 769*x**4/4 + 638*x**3/3 + 210*x**2 + 72*x

________________________________________________________________________________________

Giac [A]  time = 1.90193, size = 46, normalized size = 1.05 \begin{align*} -\frac{1350}{7} \, x^{7} - \frac{1215}{2} \, x^{6} - \frac{3366}{5} \, x^{5} - \frac{769}{4} \, x^{4} + \frac{638}{3} \, x^{3} + 210 \, x^{2} + 72 \, x \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)*(2+3*x)^3*(3+5*x)^2,x, algorithm="giac")

[Out]

-1350/7*x^7 - 1215/2*x^6 - 3366/5*x^5 - 769/4*x^4 + 638/3*x^3 + 210*x^2 + 72*x